<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>礼包领取</title>
</head>
<style>
    * {
        margin: 0px;
        border: 0px;
        padding: 0px;
    }

    html {
        height: 100%;
    }

    body {
        text-align: center;
        height: 100%;
        display:none;
    }

    img {
        width: 100%;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: auto 100%;

    }
</style>
<body>
<img src="{{asset('images/act-home-bg.jpg')}}"/>

</body>
<script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    //屏蔽滑动
    document.querySelector('body').addEventListener('touchmove', function (e) {
        e.preventDefault();
    });
    wx.config({!! \App\Http\Controllers\WechatController::app()->js->config([
        'hideAllNonBaseMenuItem',
    ], false) !!});

    wx.ready(function () {
        wx.hideAllNonBaseMenuItem();
        document.getElementsByTagName("body")[0].setAttribute("style","display:block");
    });

    wx.error(function (res) {
        //alert(res.errMsg);
    });

</script>
</html>